if __name__ == '__main__':
    fileA = open("a.text", "a+", encoding="utf-8")
    # 追加10次写入
    for i in range(10):
        fileA.write("山东商业职业技术学员\n")
    ab = fileA.readlines()
    fileA.close()
    # 查看文本
    with open("a.text","r",encoding="utf-8")as fp:
        print(fp.read())


